import React, { useContext } from 'react';
import { ColorContext } from './color';
function View(params) {
    const color = useContext(ColorContext)
    console.log(color);
    return (
        <div style={color}>
            test  color
        </div>
    )
}

export default View